<?php if($row["type"]==9){?>
<script>
function send_flower(obj,postid){
	
	var dataString="act=flower&postid="+postid;
	$.ajax({
		type : "POST",
		url : "?page=action",
		data : dataString,
		success : function(data) {
			$(obj).html("<img style='vertical-align: middle;' src='image/flower.png'>（"+data+"）");
		}
	});
}
</script>
<span style='float: left;margin-left:5%'><a style='text-decoration: none;display:block;cursor:pointer'  onclick="send_flower(this,<?php echo $row["id"]?>);"><img style='vertical-align: middle;' src='image/flower.png'>（<?php $addi=get_post_addi($row["id"], "flower");if(empty($addi))echo 0;else echo count(explode(",",$addi));?>）</a></span>
<?php }?>